/*
 * @Author: Lin Hongwei
 * @Date: 2021-11-07 21:25:27
 * @LastEditTime: 2021-12-15 17:26:09
 * @LastEditors: Lin Hongwei
 * @email: 1365755396@qq.com
 * @CSDN: https://blog.csdn.net/weixin_45429409
 * @Description: 登录等路由添加
 */


const express = require('express');
const router = express.Router();

const {Login,userList} = require('../services/userServer');

router.route('/login').get(Login).post(Login);
router.route('/user').get(userList).post(userList)


module.exports = router;